package com.myworld.datastructure.tree;

public class HeadElement<T> {
    private Integer weight;
    private T t;

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public HeadElement() {
    }

    public HeadElement(Integer weight, T t) {
        this.weight = weight;
        this.t = t;
    }
}
